<!doctype html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta name="viewport"
          content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>freemarker</title>
    <script src="/webjars/jquery/3.5.1/jquery.js"></script>
    <script src="/aa.js"></script>
</head>
<body>
<a href="http://freemarker.foofun.cn/index.html" target="_blank">freemarker参考文章</a>
<hr>
<#if msg??><h1>hello ${msg}</h1></#if>
<br />
<button type="button" id="btQuery">查询列表</button>
<span id="aazone.zoneF">
		<ul>
			<#if list??>
                <#list list as o>
                    <li>${o_index} , id: ${o.id} , name: ${o.name} ,createDate: ${o.createDate}</li>
                </#list>
            </#if>

		</ul>
    <!-- @end of zone [zoneF]@ --></span>

<script type="text/javascript">
    $('#btQuery').click(function() {
        ajaxAnywhere.getAJAX('/f/list', 'zoneF');
    });
</script>

</body>
</html>
